package com.infindo.appcreate.zzyj.entity;

import static javax.persistence.GenerationType.SEQUENCE;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "zzyj_project_hot", schema = "public")
public class ProjectHot implements java.io.Serializable {

   
    private static final long serialVersionUID = 6952792461269745128L;
    private Long id;
    private String projectCode;
    
    
    public ProjectHot(){}
    
    public ProjectHot(String projectCode){
        super();
        this.projectCode = projectCode;
         
    }

	@SequenceGenerator(name = "generator", sequenceName = "seq_zzyj_project_hot",allocationSize=1)
	@Id
	@GeneratedValue(strategy = SEQUENCE, generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name = "project_code")
    public String getProjectCode() {
        return projectCode;
    }
    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }
	
}
